package com.hskn.hss.module.oilDevice.to;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hskn.hss.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 里程报表TO
 *
 * @author zcy
 * @date 2021/10/9 13:21
 */
@Data
@ApiModel(value = "里程报表图-TO", description = "里程报表图-TO")
public class MileageReportCharsTO extends BaseEntity implements Serializable {
    @ApiModelProperty(value = "车辆类型ID", name = "carTypeId", example = "02eb9c47bd9944c788b2f00407efbc3e")
    private String carTypeId;
    @ApiModelProperty(value = "车辆ID", name = "carId", example = "02eb9c47bd9944c788b2f00407efbc3e")
    private String carId;
    @ApiModelProperty(value = "开始时间", name = "startTime", example = "2021-09-22")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;
    @ApiModelProperty(value = "结束时间", name = "endTime", example = "2021-09-22")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

}
